package com.vanpos.domain;

import java.util.Date;

/**
 * 用户详细信息类
 * 对应info_user表
 */
public class User extends Person {
	private static final long serialVersionUID = 1L;
	//--- 基本属性 ---
	private Long id;
	private String loginName;//登录名(唯一)
	private String bankCard;//银行卡号(唯一 不为null)
	private String openingBank;//开户银行
	private String identityCard;//身份证
	private String nickName;//昵称
	private String password;//密码（密文）
	private String userName;//真实姓名/法人姓名
	private String email;
	private Integer roleType;//角色类型 1:普通 2:商家
	private Long terminalTypeId;//终端类型
	private Date regDate;//注册日期(取系统时间)
	private Integer active;//激活状态 1:已激活 0:未激活
	private String headerUrl;//头像地址
	private Integer clientType;//客户端类型
	private Integer deleted;//删除状态 1 为删除  0 未删除
	private Long roleId;//角色Id
	private Long feeRateId;//手续费折率ID
	private String branchesBank;//开户支行
	private Integer bBankProvince;//支行 所在的省
	private Integer bBankCity;//支行 所在的市
	private Long pUserId;//父用户ID
	private String cardholder;//
	private Long organizationId;//注册时使用那个代理商的 激活码注册
	private String payPassword;//支付密码
	private String activationCode;//激活码
	private Long brokerageRateId;//佣金率ID
	private String branchesBankCode;//支行代码
	private Integer bankStatus;//绑定银行卡  状态 0:认证失败 1:认证通过 2:审核中 3:未申请认证 DEFAULT 3
	
	public String getBranchesBankCode() {
		return branchesBankCode;
	}
	public void setBranchesBankCode(String branchesBankCode) {
		this.branchesBankCode = branchesBankCode;
	}
	public String getActivationCode() {
		return activationCode;
	}
	public void setActivationCode(String activationCode) {
		this.activationCode = activationCode;
	}
	public Long getBrokerageRateId() {
		return brokerageRateId;
	}
	public void setBrokerageRateId(Long brokerageRateId) {
		this.brokerageRateId = brokerageRateId;
	}
	public String getCardholder() {
		return cardholder;
	}
	public void setCardholder(String cardholder) {
		this.cardholder = cardholder;
	}
	public Long getOrganizationId() {
		return organizationId;
	}
	public void setOrganizationId(Long organizationId) {
		this.organizationId = organizationId;
	}
	public String getPayPassword() {
		return payPassword;
	}
	public void setPayPassword(String payPassword) {
		this.payPassword = payPassword;
	}
	public Long getPUserId() {
		return pUserId;
	}
	public void setPUserId(Long userId) {
		pUserId = userId;
	}
	public String getBranchesBank() {
		return branchesBank;
	}
	public void setBranchesBank(String branchesBank) {
		this.branchesBank = branchesBank;
	}
	public Integer getBBankProvince() {
		return bBankProvince;
	}
	public void setBBankProvince(Integer bankProvince) {
		bBankProvince = bankProvince;
	}
	public Integer getBBankCity() {
		return bBankCity;
	}
	public void setBBankCity(Integer bankCity) {
		bBankCity = bankCity;
	}
	public Long getFeeRateId() {
		return feeRateId;
	}
	public void setFeeRateId(Long feeRateId) {
		this.feeRateId = feeRateId;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getBankCard() {
		return bankCard;
	}
	public void setBankCard(String bankCard) {
		this.bankCard = bankCard;
	}
	public String getOpeningBank() {
		return openingBank;
	}
	public void setOpeningBank(String openingBank) {
		this.openingBank = openingBank;
	}
	public String getIdentityCard() {
		return identityCard;
	}
	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getRoleType() {
		return roleType;
	}
	public void setRoleType(Integer roleType) {
		this.roleType = roleType;
	}
	public Long getTerminalTypeId() {
		return terminalTypeId;
	}
	public void setTerminalTypeId(Long terminalTypeId) {
		this.terminalTypeId = terminalTypeId;
	}
	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
	public String getHeaderUrl() {
		return headerUrl;
	}
	public void setHeaderUrl(String headerUrl) {
		this.headerUrl = headerUrl;
	}
	public Integer getClientType() {
		return clientType;
	}
	public void setClientType(Integer clientType) {
		this.clientType = clientType;
	}
	public Integer getDeleted() {
		return deleted;
	}
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	public Integer getBankStatus() {
		return bankStatus;
	}
	public void setBankStatus(Integer bankStatus) {
		this.bankStatus = bankStatus;
	}
}
